Aligner Troubleshooting Guide
This guide provides quick solutions for template alignment issues on the OV20i camera system.
Quick Diagnosis
Is the aligner supposed to be running?
Check Skip Aligner setting:
- Go to Template Image and Alignment
- Ensure Skip Aligner is NOT checked
- If checked, uncheck it and test alignment
Basic Alignment Test
- Switch to Live Preview Mode
- Place a part in the camera view
- Look for moving ROI boxes - they should follow the part
- Check confidence value - should be >60%
Common Issues & Solutions
Issue: Aligner Not Working At All
Symptoms: ROIs don't move, confidence shows 0%
Quick Fixes:
- Check Template Regions exist - at least one required
- Look for red highlights in Template Regions
- Increase Sensitivity to 80-90%
- Re-capture Template Image if corrupted
Issue: Inconsistent Alignment
Symptoms: Works sometimes, fails other times
Solutions:
Problem | Fix |
---|---|
Template Regions on variable features | Move regions to stable edges/corners |
Poor lighting | Improve lighting consistency |
Dirty parts | Clean parts or choose different features |
Template image outdated | Re-capture template with current parts |
Issue: False Alignment (Wrong Position)
Symptoms: High confidence but wrong alignment
Solutions:
- Increase Confidence Threshold to 85-95%
- Add more Template Regions for uniqueness
- Choose more distinctive features
Issue: Red Highlights (No Edges Detected)
Symptoms: Red highlights in Template Regions
Quick Fixes:
- Increase Sensitivity slider
- Improve lighting on parts
- Choose areas with sharper edges
- Check camera focus
Issue: Slow Alignment
Symptoms: Long delays during alignment
Optimizations:
- Reduce Template Regions to 2-3 most effective
- Reduce Rotation Range to actual needs
- Lower Sensitivity to minimum effective level
Template Region Best Practices
Good Template Region Placement
✅ Place regions on:
- Sharp corners and edges
- Unique geometric features
- High contrast areas
- Stable part features
❌ Avoid regions on:
- Textured surfaces
- Reflective areas
- Parts that might be missing
- Small details that get dirty
Edge Detection Check
- 🟢 Green highlights = Good edges detected
- 🔴 Red highlights = Need more sensitivity or better features
Parameter Quick Reference
Parameter | Recommended | Purpose |
---|---|---|
Confidence Threshold | 0.7-0.9 | Balance accuracy vs flexibility |
Sensitivity | Lowest that gives green highlights | Avoid noise while detecting edges |
Rotation Range | Match actual part variation | Minimize to improve speed |
Emergency Bypass
If alignment can't be fixed immediately:
- Enable Skip Aligner in Template & Alignment settings
- Position parts manually and consistently
- Verify inspection still works without alignment
- Fix alignment during next maintenance window
Troubleshooting Decision Tree
Alignment Problem?
├── Skip Aligner enabled? → Disable it
├── No Template Regions? → Add regions on stable features
├── Red highlights? → Increase sensitivity
├── Inconsistent results? → Check Template Region placement
├── False positives? → Increase confidence threshold
└── Too slow? → Reduce regions/rotation range